'use strict';


let path = require('path');
let gulp = require('gulp');
let del = require('del');
let runSequence = require('run-sequence');
let browserSync = require('browser-sync');
let gulpLoadPlugins = require('gulp-load-plugins');

const $ = gulpLoadPlugins();
const reload = browserSync.reload();

//path
const appDir = `${__dirname}/app`;
const dirVars={
	vendor:`${appDir}/vendor`,
	common:`${appDir}/common`,
	


}



gulp.task('lint',()=>{

});


gulp.task('default',()=>{
	console.log('aaaaa');

});

gulp.task('inject',()=>{
	let target = gulp.src('./app/users/src/index.html');
	let sources = gulp.src(['./app/users/src/main.css','./app/users/src/main.js'],{read:false})

	
	
	return target.pipe($.inject(sources), {relative: true})
	    .pipe(gulp.dest('./app/users'));
	

});